package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Tel      string `gorm:"type:varchar(30)" json:"tel"`
	Password string `gorm:"type:varchar(255)" json:"password"`
}
type Red struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30)" json:"title" json:"title"`
	Content string `gorm:"type:varchar(255)" json:"content"`
	Img     string `gorm:"type:varchar(255)" json:"img"`
}
